StoreKeeper\WooCommerce\B2C\Tools\AttributeTranslator S

Total Complexity 28
Dependencies 2
Dependents 3
Total lines 296
Lines of code 149
Logical lines of code 76
Comment lines 86
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
validateAttribute()
S
55 6 19
setTranslation()
S
58 4 18
getTranslation()
S
54 3 22
createTable()
S
56 3 20
hasTranslation()
S
57 2 18
hasTranslatedWoocommerceSlug()
S
58 2 16
insertTranslationIntoDatabase()
S
60 2 14
databaseTableExistsCheck()
S
68 2 7
getTableName()
S
76 1 4
databaseTableExists()
S
71 1 5
setVersion()
S
78 1 3
getVersion()
S
79 1 3